<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./zong/jquery-1.12.4.min.js"></script>
    <script src="./zong/template-native.js"></script>
    <script type="text/html" id="tem1">
        <% for (let i = 0 ; i < comments.length ; i++) { %>
            <li uid="<%= comments[i].id %>">
                <p><%= i + 1 %>楼 <span class=><%= comments[i].username %></span><a href="javascript:;" class="delete">删除</a></p>
                <div class="content-p"><%= comments[i].content %></div>
            </li>
        <% } %>
    </script>
    <script type="text/html" id="tem2">
                <h2>楼主 <span class="uname"><%= louzhu[0].username %></span></h2>
                <p class="content"><%= louzhu[0].content %></p>
    </script>
    <link rel="stylesheet" href="./css/index.min.css">
</head>

<body>
    <div class="targe">
        <div class="top">
            <div class="louzhu"></div>
            <div class="result">
                <p><input type="text" name="" id="txt" id="username"></p>
                <p><textarea name="" id="content" cols="30" rows="10" class=""></textarea></p>
                <p><input type="button" value="发送" class="btn"></p>
            </div>
        </div>
        <ul class="pinglun"></ul>
    </div>
    <script src="./lib/index.min.js"></script>
</body>

</html>